﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevFx.Model;
using DevFx.Biz;

namespace DevFx.Web
{
	public partial class WebForm1 : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
            //using (Model.Entities db = new Entities())
            //{
            //    IQueryable<BdDicType> Type1 = from c in db.BdDicTypes select c;
            //    Type1.OrderBy(p => p.CreateDate).ThenBy(p=>p.Disabled).ToList();
            //    //Type1.ToList();
            //}
            //DicTypeBiz bb = new DicTypeBiz();
            //var a1 = bb.GetByCondition(p => p.TypeName == "省市");
            //var a2 = bb.GetByCondition(p => p.TypeName == "省市");
            //var a3 = bb.GetByCondition(p => p.TypeName.Contains("省"));
            //var a4 = bb.GetByCondition(p => p.TypeName.Contains("省"));
          
		}

        protected void ff_Click(object sender, EventArgs e)
        {
            DicTypeBiz bb = new DicTypeBiz();
            var a1 = bb.GetByCondition(p => p.TypeName == "省市");
            var a2 = bb.GetByCondition(p => p.TypeName == "省市");
            var a3 = bb.GetByCondition(p => p.TypeName.Contains("省"));
            var a4 = bb.GetByCondition(p => p.TypeName.Contains("省"));
        }
	}
}